package cn.iocoder.yudao.module.vos.controller.admin.ecdr.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - CDR新增/修改 Request VO")
@Data
public class ECdrSaveReqVO {

    @Schema(description = "主叫号码")
    private String callere164;

    @Schema(description = "被叫号码")
    private String calleee164;

    @Schema(description = "原始被叫")
    private String calleeaccesse164;

    @Schema(description = "主叫IP")
    private String callerip;

    @Schema(description = "对接网关", example = "6181")
    private String callergatewayid;

    @Schema(description = "被叫IP")
    private String calleeip;

    @Schema(description = "呼出被叫号码")
    private String calleetogatewaye164;

    @Schema(description = "起始时间")
    private Long starttime;

    @Schema(description = "终止时间")
    private Long stoptime;

    @Schema(description = "通话的时长")
    private Integer holdtime;

    @Schema(description = "话单的唯一标识", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long flowno;

    @Schema(description = "挂断方0: 主叫挂断1: 被叫挂断2: 服务器挂断")
    private Integer enddirection;

    @Schema(description = "业务标签")
    private String phoneTag;

}